import java.util.Scanner;

public class IF07 {
    public static void main(String[] args) {
        int price =10000;
        Scanner sc =new Scanner(System.in);
        System.out.println("请输入你的会员等级");
        int a = sc.nextInt();

        if (a==1){
            System.out.println("9000");
        }
        else if (a==2){
            System.out.println("8000");
        }else if (a==3){
            System.out.println("7000");
        }
       else{
            System.out.println("10000");
        }
    }
    }

